package com.sg.model.componnet.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sg.framework.common.po.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.io.Serial;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.util.Date;

/**
 * @author xxx
 */
@Data
@Accessors(chain = true)
@TableName("oms_conf_class_item")   //2-3-06配置项关系表
public class OmsConfClassItem extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * 配置项关系ID
     */
    @TableId(value = "class_conf_item_id", type = IdType.ASSIGN_UUID)
    @NotNull(message = "classConfItemId不能为空")
    private String classConfItemId;
    /**
     * 配置项ID
     */
    @TableField(value = "conf_item_id")
    @NotNull(message = "配置项ID不能为空")
    @Schema(description = "配置项ID")
    private String confItemId;
    /**
     * 配置项标识
     */
    @TableField(value = "conf_item_code")
    @NotNull(message = "配置项标识不能为空")
    @Schema(description = "配置项标识")
    private String confItemCode;
    /**
     * 方案分组ID
     */
    @TableField(value = "conf_item_class_id")
    @NotNull(message = "方案分组ID不能为空")
    @Schema(description = "方案分组ID")
    private String confItemClassId;
    /**
     * 分组标识
     */
    @TableField(value = "conf_item_class_code")
    @NotNull(message = "分组标识不能为空")
    @Schema(description = "分组标识")
    private String confItemClassCode;
    /**
     * 所属配置方案ID
     */
    @TableField(value = "conf_scheme_id")
    @NotNull(message = "所属配置方案ID不能为空")
    @Schema(description = "所属配置方案ID")
    private String confSchemeId;
    /**
     * 所属配置方案标识
     */
    @TableField(value = "conf_scheme_code")
    @NotNull(message = "所属配置方案标识不能为空")
    @Schema(description = "所属配置方案标识")
    private String confSchemeCode;
    /**
     * 排序
     */
    @TableField(value = "order_number")
    @NotNull(message = "排序不能为空")
    @Schema(description = "排序")
    private Long orderNumber;
    /**
     * 生命周期状态 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
    @NotNull(message = "生命周期状态不能为空")
    @Schema(description = "生命周期状态")
    private String subjectLifeCycle;
    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
    @NotNull(message = "是否存档不能为空")
    @Schema(description = "是否存档")
    private String isArchive;
    /**
     * 操作人就职记录ID
     */
    @TableField(value = "operation_induction_id")
    @NotNull(message = "操作人就职记录ID不能为空")
    @Schema(description = "操作人就职记录ID")
    private String operationInductionId;
    /**
     * 创建人就职记录ID
     */
    @TableField(value = "create_induction_id")
    @NotNull(message = "创建人就职记录ID不能为空")
    @Schema(description = "创建人就职记录ID")
    private String createInductionId;
    /**
     * 发布人就职记录ID
     */
    @TableField(value = "release_induction_id")
    @Schema(description = "发布人就职记录ID")
    private String releaseInductionId;
    /**
     * 111111商业位置 MENUS:菜单 TOP_FIND:发现上 FIND:发现 TOP_CONF_CENTER:配置中心上 CONF_CENTER:配置中心
     */
    @TableField(value = "throw_place")
    @Schema(description = "111111商业位置")
    private String throwPlace;
    /**
     * 存档人就职记录ID
     */
    @TableField(value = "archive_induction_id")
    @Schema(description = "存档人就职记录ID")
    private String archiveInductionId;
    /**
     * 11111扩展字段1
     */
    @TableField(value = "extension_field1")
    @Schema(description = "11111扩展字段1 ")
    private String extensionField1;
    /**
     * 操作时间
     */
    @TableField(value = "operate_time")
    @NotNull(message = "操作时间不能为空")
    @Schema(description = "操作时间")
    private Date operateTime;
    /**
     * 11111扩展字段2
     */
    @TableField(value = "extension_field2")
    @Schema(description = "11111扩展字段2")
    private String extensionField2;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @NotNull(message = "创建时间不能为空")
    @Schema(description = "创建时间")
    private Date createTime;
    /**
     * 11111扩展字段3
     */
    @TableField(value = "extension_field3")
    @Schema(description = "11111扩展字段3 ")
    private String extensionField3;
    /**
     * 发布时间
     */
    @TableField(value = "release_time")
    @Schema(description = "发布时间")
    private Date releaseTime;
    /**
     * 存档时间
     */
    @TableField(value = "archive_time")
    @Schema(description = "存档时间")
    private Date archiveTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
    @NotNull(message = "是否作废不能为空")
    @Schema(description = "是否作废")
    private String isValid;
    /**
     * 创建于空间ID
     */
    @TableField(value = "space_id")
    @NotNull(message = "创建于空间ID不能为空")
    @Schema(description = "创建于空间ID")
    private String spaceId;
    /**
     * 创建于联盟应用ID
     */
    @TableField(value = "app_id")
    @NotNull(message = "创建于联盟应用ID不能为空")
    @Schema(description = "创建于联盟应用ID")
    private String appId;
}
